package com.humenxiaoyan;

public class ChinaLong {
    private String id;
    private String name;
    private String fromplace;
    private String character;
    private String ability;
    //属性详情
    //id:002
    //name:中国龙
    //fromplace:China
    //character:五爪金龙 体格壮硕
    //ability:喷水

    //get&set方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFromplace() {
        return fromplace;
    }

    public void setFromplace(String fromplace) {
        this.fromplace = fromplace;
    }

    public String getCharacter() {
        return character;
    }

    public void setCharacter(String character) {
        this.character = character;
    }

    public String getAbility() {
        return ability;
    }

    public void setAbility(String ability) {
        this.ability = ability;
    }
    public void show(){
        System.out.println("编号是:" + id + "," + "名字:" + name + "," + "来自:" + fromplace + "," + "特征:" + character + "," + "能力:" + ability);
    }
}